package com.celesea.auth.group.service;

import com.celesea.auth.group.entity.Group;
import com.celesea.auth.group.vo.GroupVo;
import com.celesea.framework.service.BaseService;

import java.util.List;

/**
 * @author JackYuan
 * @create 2017-10-26 23:16
 */
public interface GroupService extends BaseService<Group> {

    List<Group> selectList();

    void disable(String id);

    void enable(String id);


    GroupVo insert(GroupVo entity);

    GroupVo update(GroupVo entity);

    @Override
    GroupVo selectById(String id);

    List<Group> selectGroups();
}
